package com.dominator.service;


import com.dominFramework.core.typewrap.Dto;
import com.dominator.utils.api.ApiMessage;
import com.dominator.utils.exception.ApiException;

public interface ApiEntranceTicketService {

    /**
     * 创建门票购买记录
     * @param dto
     * @return
     */
    ApiMessage createTicket(Dto dto) throws ApiException;

    /**
     * 修改门票购买记录
     * @param dto
     * @return
     */
    ApiMessage updateTicket(Dto dto) throws ApiException;
}
